package com.lagou.edu.annotation;

import java.lang.annotation.*;

/**
 * @Author ZhangGJ
 * @Date 2021/04/21 23:55
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.ANNOTATION_TYPE})
public @interface Autowired {

    boolean required() default true;

}
